package com.xinke.module.system.model.vo.social;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 社交用户 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SocialUserRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "6171")
    @ExcelProperty("主键")
    private Long socialUserId;

    @Schema(description = "社交平台的类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("社交平台的类型")
    private Integer socialType;

    @Schema(description = "社交 openid", requiredMode = Schema.RequiredMode.REQUIRED, example = "1863")
    @ExcelProperty("社交 openid")
    private String socialOpenid;

    @Schema(description = "社交 token")
    @ExcelProperty("社交 token")
    private String socialToken;

    @Schema(description = "原始 Token 数据，一般是 JSON 格式", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("原始 Token 数据，一般是 JSON 格式")
    private String rawTokenInfo;

    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("用户昵称")
    private String userNickName;

    @Schema(description = "用户头像")
    @ExcelProperty("用户头像")
    private String userAvatar;

    @Schema(description = "原始用户数据，一般是 JSON 格式", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("原始用户数据，一般是 JSON 格式")
    private String rawUserInfo;

    @Schema(description = "最后一次的认证 code", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("最后一次的认证 code")
    private String authCode;

    @Schema(description = "最后一次的认证 state")
    @ExcelProperty("最后一次的认证 state")
    private String authState;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}